﻿/***
**映射信息列表
***/
var MapNewsList = function(xmlDoc) {
    var rs = new Array();
    var k = 0;
    var rootObj = xmlDoc.responseXML.documentElement;
    if (rootObj != null) {
        var list = rootObj.getElementsByTagName("Admin_Img");
        if (list != null && list.length > 0) {
            for (var i = 0; i < list.length; i++) {
                if (list[i] != null) {
                    var obj = new Object(); //绑定各个字段
                    obj.ID = GetXmlData(list[i], "ID");
                    obj.Title = GetXmlData(list[i], "Title");
                    obj.Contents = GetXmlData(list[i], "Contents");
                    obj.Account = GetXmlData(list[i], "UserName");
                    obj.ModelID = GetXmlData(list[i], "ModelId");
                    obj.ModelParentID = GetXmlData(list[i], "ModelParentID");
                    obj.SendTime = GetXmlData(list[i], "SendTime");
                    obj.HtmUrl = GetXmlData(list[i], "HtmUrl");
                    obj.ImgUrl = GetXmlData(list[i], "ImgUrl");
                    obj.PicNum = GetXmlData(list[i], "PicNum");
                    obj.DisPlayOrder = GetXmlData(list[i], "DisPlayOrder");
                    obj.ShenHe = GetXmlData(list[i], "ShenHe");
                    //obj.HtmUrl = GetXmlData(list[i], "HtmUrl");
                    //obj.PicFlg = GetXmlData(list[i], "PicFlg");
                    //obj.TopLeading = GetXmlData(list[i], "TopLeading");
                    //obj.TopPlayLeading = GetXmlData(list[i], "TopPlayLeading"); //视频头条
                    rs[k++] = obj;
                }

            }
        }
    }
    return rs;
};